package com.blackhorse.dao;

import com.blackhorse.domain.User;

import java.util.List;

public interface UserMapper {
    public List<User> findAll();

    public void saveUser(User user);

    public void updateUser(User user);

    public void deleteUserById(int id);

    public User findById(int id);

    public List<User> findByName(String name);

    public int findTotal();
}
